<?php e($javascript->link('ckeditor/ckeditor')); ?>
<div class="widfats" style="width: 80%">
    <div class="studentResumes form">
    <?php echo $form->create('StudentResume');?>
        <fieldset>
            <legend><?php __('Edit StudentResume');?></legend>
            <?php e($form->hidden('id')); ?>
            <?php e($form->hidden('student_id')); ?>
            <ul id="tabs" class="tabs">
                <li><a href="javascript:void(0)"><?php __('Resume Intention'); ?></a></li>
                <li><a href="javascript:void(0)"><?php __('Resume Education'); ?></a></li>
                <li><a href="javascript:void(0)"><?php __('Resume Award'); ?></a></li>
                <li><a href="javascript:void(0)"><?php __('Resume Abilities'); ?></a></li>
            </ul>
            <div id="panes" class="panes">
                <div>
                    <p class="faq">
                        求职意向: 简述您所想从事的领域, 感兴趣的工作
                        <a href="javascript:void(0)" class="use_rich_text_editor"><?php __('Use rich text editor'); ?></a>
                    </p>
                    <?php e($form->input('intention', array('label'=> false, 'type'=>'textarea', 'class' => 'textarea'))); ?>
                </div>
                <div>
                    <p class="faq">
                        教育经历: 按照时间倒序, 简述主要教育, 培训经历
                        <a href="javascript:void(0)" class="use_rich_text_editor"><?php __('Use rich text editor'); ?></a>
                    </p>
                    <?php e($form->input('education', array('label'=>false, 'type'=>'textarea', 'class' => 'textarea'))); ?>
                </div>
                <div>
                    <p class="faq">
                        所获奖项: 按照时间倒序, 写明获奖时间, 名称等
                        <a href="javascript:void(0)" class="use_rich_text_editor"><?php __('Use rich text editor'); ?></a>
                    </p>
                    <?php e($form->input('awards', array('label'=>false, 'type'=>'textarea', 'class' => 'textarea'))); ?>
                </div>
                <div>
                    <p class="faq">
                        自我评价: 对个人能力的总结, 最好对英语和计算机能力做重点阐述
                        <a href="javascript:void(0)" class="use_rich_text_editor"><?php __('Use rich text editor'); ?></a>
                    </p>
                    <?php e($form->input('ability', array('label'=>false, 'type'=>'textarea', 'class' => 'textarea'))); ?>
                </div>
            </div><br />
            <?php e($form->submit(__('Save Changes', true), array('class' =>'submit attention'))); ?>
        </fieldset>
    <?php echo $form->end();?>
    </div>
</div>
<script type="text/javascript">
jQuery(function(){
    /* tab view */
    $('ul.tabs').tabs('div.panes > div');
    /* toggle for rich text editors */
    $('a.use_rich_text_editor').click($.sme.cbk.initBasicEditor).click();
});
</script>